home *** CD-ROM | disk | FTP | other *** search
/ Developer CD Series 1992 June: ROMin Holiday / ADC Developer CD (1992-06) (''ROMin Holiday'')_iso / Developer Connection - 06-1992.iso / Tools & Apps / OS⁄Toolbox / Threads Package / SillyBalls.make < prev    next >
Encoding:
Text File  |  1991-03-15  |  1.5 KB  |  49 lines  |  [TEXT/MPS ]

  1. #
  2. #    Macintosh Developer Technical Support
  3. #
  4. #    Simple Color QuickDraw Sample Application
  5. #
  6. #    SillyBalls
  7. #
  8. #    SillyBalls.make    -    Make Source
  9. #
  10. #    Copyright © 1988 Apple Computer, Inc.
  11. #    All rights reserved.
  12. #
  13. #    Versions:    1.1    (MPW 3.0 Final)    8/88
  14. #
  15. #    Components:    SillyBalls.p        August 8, 1988
  16. #                SillyBalls.c        August 8, 1988
  17. #                (P)SillyBalls.make    August 8, 1988
  18. #                (C)SillyBalls.make    August 8, 1988
  19. #
  20. #    This is a very simple sample program that demonstrates how to use Color 
  21. #    QuickDraw.  It is about two pages of code, and does nothing more than open
  22. #    a color window and draw randomly colored ovals in the window.
  23. #    
  24. #    The purpose is to show how to get some initial results with Color QuickDraw.
  25. #    It is a complete program and is very short to be as clear as possible.
  26. #    
  27. #    It does not have an Event Loop.  It is not fully functional in the sense that
  28. #    it does not do all the things you would expect a well behaved Macintosh 
  29. #    program to do, like size the window naturally, have an event loop, use menus, 
  30. #    etc.
  31. #
  32. #    See Sample and TESample for the general structure and MultiFinder techniques that
  33. #    we recommend that you use when building a new application.
  34. #
  35. # For MPW 3.0 we override the default COptions to turn on strict prototyping;
  36. #    add '-r' to your UserStartup when you tire of the warning from Make.
  37. COptions = -r
  38.  
  39. Objs        =    SillyBalls.c.o ∂
  40.                 "{Libraries}"Interface.o ∂
  41.                 "{Libraries}"Runtime.o ∂
  42.                 ThreadLib.o
  43.  
  44.  
  45. SillyBalls    ƒ    {Objs} SillyBalls.make
  46.                 Link -o {Targ} {Objs}
  47.                 SetFile {Targ} -t APPL -c '????'
  48.  
  49.